package com.gx.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPoolUtils {

    private static final ExecutorService service = Executors.newFixedThreadPool(5);

    public static final ExecutorService getExecutorService() {
        return service;
    }
	
	
/*	ThreadPoolUtils.getExecutorService().execute(() -> {
		try{
		paymentService.batchPayment();
		}catch(Exception e){
			logger.error("定时付款异常：{}", e.getMessage());
			e.printStackTrace();
		}
	});*/


}
